from dingtalkchatbot.chatbot import DingtalkChatbot

# WebHook地址
webhook = 'https://oapi.dingtalk.com/robot/send?access_token=78f1ef4552c8d061f34be5b6c124891d245e3c8d70819ef38f0886d6b6822241'
# 初始化机器人小丁
xiaoding = DingtalkChatbot(webhook)


def send_msg(text):
    xiaoding.send_text(msg=text, is_at_all=True)
